package com.iot08.common.entity.app;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;
import java.util.Date;

@Data
@Document("feedback")
public class Feedback implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    private String id;

    private String openid;

    private String content;

    private String email;

    private String name;

    private Integer pass = 0;

    @Field("create_time")
    private Date createTime;

}
